<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<html>
<head>
	<title>科目录入</title>
	<base href="<%=basePath%>"></base>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  	<%@include file="/jsp/framework/common/scriptBase.jsp"%>
  	<%@include file="/jsp/framework/common/zTree.jsp"%>

	<style type="text/css">
		body{height:98%}
		html,body{height:98%}
		.l-table-edit {}
        .l-table-edit-td{ padding:4px;}
        .l-button-submit,.l-button-reset{width:80px; float:left; margin-left:10px; padding-bottom:2px;}
	</style>
</head>
<body>
	<table width="100%" >
		<tr>
			<td width="30%" id="fleft">
				<div class="zTreeDemoBackground left">
					<ul id="treeDemo" class="ztree"></ul>
				</div>
			</td>
			<td width="70%" id="fright">
				<form name="form1" method="post" action="/subject/add" id="form1">
					<table cellpadding="0" cellspacing="0" class="l-table-edit"  >
						<tr>
					    	<td colspan="2"> <h1>科目信息</h1> </td>
					        <td></td>
					        <td></td>
					        <td align="right" class="l-table-edit-td">
					        </td>
					        <td align="left" class="l-table-edit-td">
					        </td>
					        <td></td>
					    </tr>
					
					    <tr>
					    	<td width="10%"></td>
					        <td width="10%" align="right" class="l-table-edit-td">科目名称:<font color="red">*</font></td>
					        <td width="25% align="left" class="l-table-edit-td">
					        	<label>
									<input name="name" type="text" id="name" ltype="text"  class="required" />					        	
					        	</label>
					        </td>
					        <td width="10% align="left" "></td>
					        <td width="10%" align="right" class="l-table-edit-td">押注金额:<font color="red">*</font></td>
					        <td width="25%" align="left" class="l-table-edit-td">
					        	<input type="text" id="coinsBet" name="coinsBet" ltype="text"/>
					        </td>
					        <td width="10%"></td>
					    </tr>
					    
					    <tr>
					    	<td ></td>
					        <td align="right" class="l-table-edit-td">开始时间:<font color="red">*</font></td>
					        <td align="left" class="l-table-edit-td">
					        	<input type="text" id="startTime" name="startTime" readonly/>
					        </td>
					        <td align="left" "></td>
					        <td align="right" class="l-table-edit-td">最后时间:<font color="red">*</font></td>
					        <td align="left" class="l-table-edit-td">
					        	<input type="text" id="endTime" name="endTime" readonly/>
					        </td>
					        <td ></td>
					    </tr>
					    
					    <tr>
					    	<td ></td>
					        <td align="right" class="l-table-edit-td">在线时间:</td>
					        <td align="left" class="l-table-edit-td">
					        	<input type="text" id="onlineTime" ltype="text" readonly/>
					        </td>
					        <td align="left" "></td>
					        <td align="right" class="l-table-edit-td">努力程度:</td>
					        <td align="left" class="l-table-edit-td">
					        	<input type="text" id="effortLevel" ltype="text" readonly/>
					        </td>
					        <td ></td>
					    </tr>
					    
					    <tr>
					    	<td ></td>
					        <td align="right" class="l-table-edit-td">知识点数:</td>
					        <td align="left" class="l-table-edit-td">
					        	<input type="text" id="knowledgeNumber" ltype="text" readonly/>
					        </td>
					        <td align="left" ></td>
					        <td align="right" class="l-table-edit-td">重点知识:</td>
					        <td align="left" class="l-table-edit-td">
					        	<input type="text" id="knowledgeImportant" ltype="text" readonly/>
					        </td>
					        <td ></td>
					    </tr>
					    
					     <tr>
					    	<td ></td>
					      	<td align="right" class="l-table-edit-td">进度:</td>
					        <td align="left" class="l-table-edit-td" colspan="4">
					        	<input type="text" id="schedule" ltype="text" readonly/>
					        </td>
					        <td ></td>
					    </tr>
					    
					    <tr>
					    	<td ></td>
					        <td align="right" class="l-table-edit-td">学习意义:<font color="red">*</font></td>
					        <td align="left" class="l-table-edit-td" colspan="4">
					        	 <textarea id="studyMeaning" name="studyMeaning" rows="4" cols="70%" class="l-textarea"></textarea>
					        </td>
					        <td></td>
					    </tr>
					    
					    <tr>
					    	<td ></td>
					        <td align="right" class="l-table-edit-td">庆祝方式:<font color="red">*</font></td>
					        <td align="left" class="l-table-edit-td" colspan="4">
					        	 <textarea id="celebrateWay" name="celebrateWay" rows="4" cols="70%" class="l-textarea" ></textarea>
					        </td>
					        <td></td>
					    </tr>
					    
					    <tr>
					    	<td ></td>
					        <td align="right" class="l-table-edit-td">备注:</td>
					        <td align="left" class="l-table-edit-td" colspan="4">
					        	 <textarea id="notes" name="notes" rows="4" cols="70%" class="l-textarea"></textarea>
					        </td>
					        <td></td>
					    </tr>
					    
					    <tr>
					    	<td ></td>
					        <td></td>
					        <td></td>
					        <td></td>
					        <td align="left" class="l-table-edit-td " colspan="2">
					        	<input type="reset" value="重置" class="add"> 
					        	<input type="button" id="submitBtn" value="新增科目" class="add">
					        	<input type="button" id="deletetBtn" value="删除" class="edit">
					        	<input type="button" id="editSubmitBtn" value="修改提交" class="edit">
					        	<input type="button" id="returnAdd" value="返回新增" class="edit">
					        </td>
					        <td></td>
					    </tr>
					</table>
				</form>
			</td>
		</tr>
	</table>
</body>
<script src="jsp/subject/subject.js" type="text/javascript"></script>
<script src="jsp/framework/common/zTreeUtil.js" type="text/javascript"></script>
<script src="jsp/framework/common/ligerUIUtil.js" type="text/javascript"></script>
</html>